/**
 * 
 */
package com.smarthome.core.messageTask.impl;

import org.springframework.stereotype.Service;

import com.smarthome.core.messageTask.MessageTaskService;
import com.smarthome.domain.vo.boss.TaskMessageVo;

/**
 * @author dhc
 * @date 2016年3月29日 下午10:40:58
 * @title
 */
//@Service("messageTaskService")
public class MessageTaskServiceImpl implements MessageTaskService{

	@Override
	public TaskMessageVo getTaskMessage(Long residenceId) {
		TaskMessageVo vo = new TaskMessageVo();
		
		vo.setMessageType(TaskMessageVo.TaskMessageType.USERREVIEW);
		vo.setContent("数据测试----测试数据");
		vo.setCount(Math.round(Math.random()));
		vo.setParam("dad=21");
		//vo.setCount(2l);
		return vo;
	}

}
